package com.company.dcm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 故障详细表
 * @TableName rt_fault
 */
@TableName(value ="rt_fault")
@Data
public class R_Fault implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 故障代码 001:上断纱；002:下断纱；003:探针；004:探布；005:缺油；006:欠气压；007:安全门；008:变频器故障；009:保险故障；020：温度超标；021：湿度超标；022：震动超标；023:噪音超标；024:飞毛超标；  030:摄像头故障； 031:扫码枪故障
     */
    @TableField(value = "fault_code")
    private String faultCode;

    /**
     * 故障描述
     */
    @TableField(value = "fault_des")
    private String faultDes;

    /**
     * 故障时间
     */
    @TableField(value = "fault_date")
    private Date faultDate;

    /**
     * 报告单序列号
     */
    @TableField(value = "serialno")
    private String serialno;

    /**
     * 机台编号
     */
    @TableField(value = "device_code")
    private String deviceCode;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 更新时间
     */
    @TableField(value = "updateTime")
    private Date updatetime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}